import IList from '../types/IList'

//定义栈的接口
interface IStack<T>  extends IList<T> {
    push(element:T):void
    pop(element:T):T | undefined
    // peek():T | undefined
    // isEmpty():Boolean
    // size():number
}

export default IStack